﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200134F RID: 4943
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeMaterialSubmitActivityRewardCsReq : IMessage<TakeMaterialSubmitActivityRewardCsReq>, IMessage, IEquatable<TakeMaterialSubmitActivityRewardCsReq>, IDeepCloneable<TakeMaterialSubmitActivityRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003E5F RID: 15967
		// (get) Token: 0x0600DD5A RID: 56666 RVA: 0x00250B65 File Offset: 0x0024ED65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeMaterialSubmitActivityRewardCsReq> Parser
		{
			get
			{
				return TakeMaterialSubmitActivityRewardCsReq._parser;
			}
		}

		// Token: 0x17003E60 RID: 15968
		// (get) Token: 0x0600DD5B RID: 56667 RVA: 0x00250B6C File Offset: 0x0024ED6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeMaterialSubmitActivityRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E61 RID: 15969
		// (get) Token: 0x0600DD5C RID: 56668 RVA: 0x00250B7E File Offset: 0x0024ED7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeMaterialSubmitActivityRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DD5D RID: 56669 RVA: 0x00250B85 File Offset: 0x0024ED85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMaterialSubmitActivityRewardCsReq()
		{
		}

		// Token: 0x0600DD5E RID: 56670 RVA: 0x00250B8D File Offset: 0x0024ED8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMaterialSubmitActivityRewardCsReq(TakeMaterialSubmitActivityRewardCsReq other) : this()
		{
			this.belobogShopId_ = other.belobogShopId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DD5F RID: 56671 RVA: 0x00250BB2 File Offset: 0x0024EDB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMaterialSubmitActivityRewardCsReq Clone()
		{
			return new TakeMaterialSubmitActivityRewardCsReq(this);
		}

		// Token: 0x17003E62 RID: 15970
		// (get) Token: 0x0600DD60 RID: 56672 RVA: 0x00250BBA File Offset: 0x0024EDBA
		// (set) Token: 0x0600DD61 RID: 56673 RVA: 0x00250BC2 File Offset: 0x0024EDC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BelobogShopId
		{
			get
			{
				return this.belobogShopId_;
			}
			set
			{
				this.belobogShopId_ = value;
			}
		}

		// Token: 0x0600DD62 RID: 56674 RVA: 0x00250BCB File Offset: 0x0024EDCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeMaterialSubmitActivityRewardCsReq);
		}

		// Token: 0x0600DD63 RID: 56675 RVA: 0x00250BD9 File Offset: 0x0024EDD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeMaterialSubmitActivityRewardCsReq other)
		{
			return other != null && (other == this || (this.BelobogShopId == other.BelobogShopId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DD64 RID: 56676 RVA: 0x00250C08 File Offset: 0x0024EE08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BelobogShopId != 0U)
			{
				num ^= this.BelobogShopId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DD65 RID: 56677 RVA: 0x00250C47 File Offset: 0x0024EE47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DD66 RID: 56678 RVA: 0x00250C4F File Offset: 0x0024EE4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DD67 RID: 56679 RVA: 0x00250C58 File Offset: 0x0024EE58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BelobogShopId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.BelobogShopId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DD68 RID: 56680 RVA: 0x00250C8C File Offset: 0x0024EE8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BelobogShopId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BelobogShopId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DD69 RID: 56681 RVA: 0x00250CCA File Offset: 0x0024EECA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeMaterialSubmitActivityRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BelobogShopId != 0U)
			{
				this.BelobogShopId = other.BelobogShopId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DD6A RID: 56682 RVA: 0x00250CFB File Offset: 0x0024EEFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DD6B RID: 56683 RVA: 0x00250D04 File Offset: 0x0024EF04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BelobogShopId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040057DA RID: 22490
		private static readonly MessageParser<TakeMaterialSubmitActivityRewardCsReq> _parser = new MessageParser<TakeMaterialSubmitActivityRewardCsReq>(() => new TakeMaterialSubmitActivityRewardCsReq());

		// Token: 0x040057DB RID: 22491
		private UnknownFieldSet _unknownFields;

		// Token: 0x040057DC RID: 22492
		public const int BelobogShopIdFieldNumber = 7;

		// Token: 0x040057DD RID: 22493
		private uint belobogShopId_;
	}
}
